import request from '@/utils/request'

export function getListByDictTypeList(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictData/getListByDictTypeList',
    method: 'post',
    data: params
  })
}

export function addSysDictData(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictData/add',
    method: 'post',
    data: params
  })
}

export function editSysDictData(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictData/edit',
    method: 'post',
    data: params
  })
}

export function deleteSysDictData(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictData/delete',
    method: 'post',
    data: params
  })
}

export function stickSysDictData(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictData/stick',
    method: 'post',
    data: params
  })
}